// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class ProjectSetting : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<ProjectSetting, MasterDbContextLocator>
    {

        public int Id { get; set; }
        public string PrjCode { get; set; }
        public string ParaName { get; set; }
        public string ParaVal { get; set; }
    
        public void Configure(EntityTypeBuilder<ProjectSetting> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.ParaName).HasMaxLength(100);

                entityBuilder.Property(e => e.ParaVal).HasMaxLength(1000);

                entityBuilder.Property(e => e.PrjCode)
                    .HasMaxLength(50)
                    .IsUnicode(false);
        }

    }
}

